/*
 * @Author: 'yangyuhang1203' '2621131059@qq.com'
 * @Date: 2025-07-17 11:31:24
 * @LastEditors: 'yangyuhang1203' '2621131059@qq.com'
 * @LastEditTime: 2025-07-17 18:33:14
 * @FilePath: \企业级\Day04\Test04.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
public class Test04{
    public static void main(String[] args){
       int a = 6; 
       int b = 4;
       double c= a/b;
        System.out.println(c);
        //整数相除结果为整数，要小数double类型
        //取余运算结果只与操作符左边的符号的正负有关
    }
}